import axios from 'axios'
import qs from "qs";

export async function getOrders(){
    let resp = await axios.get('/api/platformRefund/show');
    return resp.data.data;
}

export async function queryRefundList(queryCondition){
    var resp = await axios.get('/api/platformRefund/query', {
        params: {
            inventorySeq:queryCondition.inventorySeq,
            createTime:queryCondition.createTime,
        }
    });
    return resp.data.data;
}

export async function settlementRefund(inventorySeq){
    var resp = await axios.get('/api/platformRefund/settlement', {
        params: {
            inventorySeq,
        }
    });
    return resp.data.data;
}